package com.gitee.mazhenggg.mall.account.domain.entity;

import com.gitee.mazhenggg.mall.account.domain.type.AccountId;
import com.gitee.mazhenggg.mall.account.domain.type.Money;
import com.gitee.mazhenggg.mall.account.domain.type.UserId;

/**
 * 账号
 *
 * @author mazhenggg
 * @date 2023/4/14
 */
public class Account {
    private AccountId id;
    private UserId userId;
    private Money available;

    public void setId(AccountId id) {
        this.id = id;
    }

    public void setUserId(UserId userId) {
        this.userId = userId;
    }

    public Money getAvailable() {
        return available;
    }

    public void setAvailable(Money available) {
        this.available = available;
    }

}
